package beer.xz.beer.device.data.api

import beer.xz.beer.device.data.channel.Channel
import retrofit2.http.GET
import retrofit2.http.Query


interface ChannelApi {
    @GET("channel/query")
    suspend fun getChannels(@Query("code") code: String): ResultData<List<Channel>>
}